﻿using System;
using System.ComponentModel;
using AmazeUI.Imodel;
using Com;

namespace Ema.Models.XtModel
{
    public class SubGoods : IGoods
    {
        public SubGoods()
        {
            this.Nourl = "/wx/jsnotify";
            this.Returl = "";
            this.Num = 99999;
            this.EnTime = DateTime.Now;
            this.EndTime = new DateTime(2099, 1, 1);
        }
        [DisplayName("商品名称")]
        public string Body { get; set; }
        [DisplayName("商品介绍")]
        public string BodyContent { get; set; }
        [DisplayName("商品小介绍")]
        public string BodyContentmin { get; set; }
        [DisplayName("商品图片")]
        public string Imgurl { get; set; }

        public string Nourl { get; set; }
        public string Returl { get; set; }
        [DisplayName("启用时间")]
        public DateTime EnTime { get; set; }
        [DisplayName("停用时间")]
        public DateTime EndTime { get; set; }
        [DisplayName("商品类型id")]
        public int GoodsClassId { get; set; }
        [DisplayName("数量")]
        public int Num { get; set; }
        public int Praise { get; set; }
        [DisplayName("备注")]
        public string Remarks { get; set; }
        public int NoClass { get; set; }
        [DisplayName("价格")]
        public int Price { get; set; }
    }
}